package com.mingke.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mingke.common.entity.GroupEntity;
import com.mingke.common.entity.UserEntity;
import com.mingke.common.transfer.CreateGroupTO;
import com.mingke.common.transfer.JoinGroupTO;

import java.util.List;

/**
 * 
 *
 * @author mingke
 * @email 1510181330@qq.com
 * @date 2022-01-02 09:55:20
 */
public interface GroupService extends IService<GroupEntity> {

    Integer create(CreateGroupTO createGroupTO);

    Integer join(JoinGroupTO joinGroupTO);

    Boolean isExist(Integer groupID);

    List<UserEntity> mates(Integer groupID);
}

